<template>
	<view class="special-enter-page page">
		<image class="top-bg" :src="cloudStorage+'index/top-bg.png'"></image>
		<CustomNav :isBack="true" :color="titleColor" :topBgColor="topBgColor" title="戈壁盛产"></CustomNav>
		<view class="white-block">
			<view @click="navigate('/page_pack/special/list')" class="menu-item">
				<view class="menu-name FZHZGBJ"><image class="menu-icon" :src="cloudStorage+'index/menu-icon-6.png'"></image>品牌农产品</view>
				<view class="title">更多品牌农产品任你挑选</view>
			</view>
			<view @click="navigate('/page_pack/market/list')" class="menu-item">
				<view class="menu-name FZHZGBJ"><image class="menu-icon" :src="cloudStorage+'index/menu-icon-7.png'"></image>乡村集市</view>
				<view class="title">可发布水果、蔬菜等自家农产品</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				titleColor:'#000',
				topBgColor:'rgba(0,0,0,0)',
			}
		}
	}
</script>

<style lang="scss" scoped>
	.special-enter-page{
		width: 100%;
		.top-bg{
			width: 100%;
			height: 480rpx;
		}
		.white-block{
			min-height: calc(100vh - 430rpx);
			position: relative;
			margin-top: -50rpx;
			padding: 30rpx;
			width: 100%;
			border-radius: 20px 20px 0 0;
			background: #fff;
			.menu-item{
				width: 100%;
				height: 260rpx;
				border-radius: 10px;
				display: flex;
				flex-direction: column;
				justify-content: center;
				padding-left: 50rpx;
				margin-bottom: 30rpx;
				.menu-name{
					display: flex;
					align-items: center;
					color: #fff;
					font-size: 40rpx;
					margin-bottom: 40rpx;
					.menu-icon{
						width: 50rpx;
						height: 50rpx;
						margin-right: 20rpx;
					}
				}
				.title{
					color: #fff;
				}
			}
			.menu-item:nth-child(1){
				background-image: linear-gradient(#FF794C,#FDBB7C);
			}
			.menu-item:nth-child(2){
				background-image: linear-gradient(#00D67D,#5AEBB3);
			}
		}
	}
</style>